package com.meitianhui.convenitenbuy.module.home.contract;

import com.meitianhui.convenitenbuy.base.BasePresenter;
import com.meitianhui.convenitenbuy.base.BaseView;
import com.meitianhui.convenitenbuy.module.home.model.bean.OfficialStore;
import com.meitianhui.convenitenbuy.module.order.model.bean.EmptyInfo;

/**
 * Created by Administrator on 2017/11/1.
 */

public interface EdinburghWebViewContract {

    interface View extends BaseView<Presenter> {
        void loginHyphenateSuccess();

        void getOfficialStore(OfficialStore officialStore, String dataSourse, String value);

        void officialStorePostSuccess(EmptyInfo data);

        void officialStorePostFail(int code, String msg);

        void settingDefaultStoreSuccess();

    }

    interface Presenter extends BasePresenter {
        void loginHyphenate();

        void getOfficialStore(String goodsCode, String goodsUrl, String amount, String dataSourse, String value);

        void officialStorePost(String storeId, String storeName, String goodsCode, String goodsUrl, String channelId);

        void settingDefaultStore(String storeId);

    }

}
